package com.sbtr.business.publishtask.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sbtr.business.publishtask.dto.PublishServerStatisticDto;
import com.sbtr.business.publishtask.entity.PublishAssignData;

import java.util.List;

/**
 * <p>
 * 部署任务分配表，记录部署任务分配到哪个部署服务器上 服务类
 * </p>
 * 

 */
public interface IPublishAssignDataService extends IService<PublishAssignData> {

	/**
	 * 统计这一批服务器列表当前资源使用情况
	 *
	 * @author qiujun
	 * @date 2019-10-30
	 * @param serverIds
	 *            - 服务器id列表
	 * @return
	 */
	List<PublishServerStatisticDto> countByServer(List<Long> serverIds);
}
